
public abstract class AbstractWikiList extends AbstractLeaf
{
	protected int level ;
	public AbstractWikiList(String value) 
	{
		super(value);
	}
	
	public void setLevel(int level)
	{
		this.level = level ;
	}
	
	@Override
	public String toDokuWiki() 
	{
		StringBuilder stringBuilder = new StringBuilder() ;
		stringBuilder.append('\n'); 
		for(int i = 0 ; i < level ; i++)
			stringBuilder.append("  ") ;
		return stringBuilder.toString() ;
	}
	
	@Override 
	public String toText2tags()
	{
		StringBuilder stringBuilder = new StringBuilder() ;
		stringBuilder.append('\n'); 
		for(int i = 0 ; i < level ; i++)
			stringBuilder.append("  ") ;
		return stringBuilder.toString() ;
		
	}
}
